package com.ty.tour.mapper;

import com.ty.tour.common.utils.MyMapper;
import com.ty.tour.pojo.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Author is ***
 * @since 2020-03-19
 */
public interface UserInfoMapper extends MyMapper<UserInfo> {

    UserInfo userLogin(@Param("name") String name, @Param("password") String password);

    boolean save(UserInfo userInfo);
}
